<body class="gray-bg">
<div class="ibox-content">
    <form class="form-horizontal" method="post" action="{:url('WorkflowBusinessType/edit')}">
        <input type="hidden" name="id" value="{$info.id|default='0'}">
        <div class="form-group">
            <label class="col-sm-2 control-label">类型名称</label>
            <div class="col-sm-10">
                <input name="name" class="form-control" type="text" placeholder="请输入流程名称" required value="{$info.name|default=''}"/>
                <span class="help-block m-b-none"></span></div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">业务标识</label>
            <div class="col-sm-10">
                <input name="business_type" class="form-control" type="text" placeholder="请输入类型业务标识" value="{$info.business_type|default=''}"/>
                <span class="help-block m-b-none">业务标识，以字母+下划线标识,增加后面要需在代码增加相关业务代码</span>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">备注说明</label>
            <div class="col-sm-10">
                <textarea class="form-control" name="remark" placeholder="请输入备注说明">{$info.remark|default=''}</textarea>
                <span class="help-block m-b-none"></span></div>
        </div>
        <div class="form-group">
            <div class="col-sm-offset-2 col-sm-8">
                {include file="admin@layout/save_btn"}
            </div>
        </div>
    </form>
</div>